//
//  RGLoginResetPassViewModel.h
//  RedGrass
//
//  Created by wukong on 2019/1/2.
//  Copyright © 2019年 hongcaosp. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RGLoginResetPassViewProtocol.h"

NS_ASSUME_NONNULL_BEGIN

@interface RGLoginResetPassViewModel : NSObject

-(instancetype) initWithProtocol:(id<RGLoginResetPassViewProtocol>)protocol;

//获取验证码
-(void) gainCaptchaCodeWithPhone:(NSString *)phone;

//设置新密码
-(void) resetPasswordWithPhone:(NSString *)phone captcha:(NSString *)code newPass:(NSString *)password;

@end

NS_ASSUME_NONNULL_END
